package day124;

public class RegDemo09 {
    public static void main(String[] args) {
        String reg="Hello\s+World";
        String S1="Hello World";
        String S2="HelloWorld";
        System.out.println(S1.matches(reg));
        System.out.println(S2.matches(reg));
    }
}
